const { list } = require('./src/mock')

module.exports = {
  devServer: {
    before(app) {
      app.get('/list', (req, res) => {
        res.send(list)
      })
    }
  }
}